package il.ac.bgu.cs.heuristics.core.caching;

import java.util.Dictionary;
import java.util.Hashtable;

public class SimpleHashCaching<T> implements ICachingEngine<T> {

	private final Dictionary<T, Integer>	m_cache;

	public SimpleHashCaching() {
		m_cache = new Hashtable<T, Integer>();
	}

	public void put(T obj, Integer value) {
		m_cache.put(obj, value);
	}

	public Integer get(T obj) {

		return m_cache.get(obj);
	}
}
